package the.broccoli.market.niche.infrastructure.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.wisteria.framework.web.mvc.entity.SuperEntity;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("niche_content")
public class NicheContentDO extends SuperEntity implements Serializable {
    private static final long serialVersionUID = -7574241390014617395L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer tenantId;
    private String content;
    private Integer type;
    private Integer ifOpen;
    private Date expireTime;
    /**
     * 资源位ID
     */
    private Integer positionId;
}
